package string;

public class SubstringDemo {
    public static void main(String[] args) {
        String str = "www.smc.com.cn";
        int star = 4;
        int end = 11;
        String name = str.substring(star,end);
        System.out.println(name);
    }
}
